package lab02.test16;

public class Test {
    public static void main(String[] args) {
        Add a=new Add();
        Divide b=new Divide();
        Minus c=new Minus();
        Times d=new Times();
        System.out.println("1.0+2.0="+a.A(1.0,2.0)+" 1.0/2.0="+b.A(1.0,2.0)+"  1.0-2.0="+c.A(1.0,2.0)+"    1.0*2.0="+d.A(1.0,2.0));
    }
}
